write a program to find the factorial of a number in c